<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Change Personal Information</title>
		<link href="shopStyles.css" rel="stylesheet" type="text/css"> <!-- guardamos el css en la raiz porque sino hay cosas que no funcionan -->
			
			<script>
            function cerrarse(){
			window.close()
            } 
            </script> 
        
    </head>
    
    
    <body>
        <h3 align="center">&nbsp;</h3>
        <h3 align="center" class="white">Change personal info</h3>
        <div align="center">
        
        
            <form name="change1" method="post" action="/ShopOnline/changepersonalinfo" target="_parent">
              <table width="50%" border="0" class="popup">
                <tr>
                  <td>Name</td>
                  <td><label for="name"></label>
                  <input type="text" name="name" id="name" placeholder="Enter your name" required autofocus></td>
                </tr>
                <tr>
                  <td>Last name</td>
                  <td><label for="secondname"></label>
                  <input type="text" name="secondname" id="secondname" placeholder="Enter your secondname" required></td>
                </tr>
                <tr>
                  <td>Email</td>
                  <td><label for="email"></label>
                  <input type="text" name="email" id="email" placeholder="Enter your new email" required></td>
                </tr>
                <tr>
                  <td>Old Email</td>
                  <td><label for="email_old"></label>
                  <input type="text" name="email_old" id="email_old" placeholder="Enter your old email" required></td>
                </tr>
                <tr>
                  <td><input type="submit" name="send" id="send" value="Change"></td>
                  <td><input type="submit" name="back" id="back" value="Back" onClick="cerrarse()"></td>
                </tr>
              </table>
          </form>
    <p>&nbsp;</p>          </div>
        <p align="center">&nbsp;</p>
</body>
</html>
